function Cat ( CatName, CatAge){
this.name=CatName;
this.age=CatAge;
this.CatMeow= function (){
alert("Meow");
}
}
var CatName=prompt("Enter cat name");
var CatAge=prompt("Enter cat age");
var Mittens= new Cat (CatName, CatAge);

Mittens.CatMeow();
 
 
 
 
 